﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterCar.master" AutoEventWireup="true"
    CodeFile="email-confirm.aspx.cs" Inherits="car_insurance_email_confirm" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="container">
        <div id="divLoading" style="position: fixed; top: 0; left: 0; background-color: gray;
            filter: alpha(opacity=90); opacity: 0.8; width: 100%; height: 100%; display: none;">
            <table style="width: 100%; height: 300px">
                <tr>
                    <td align="center" valign="middle">
                        <img src="../images/loader/loader.gif" alt="Loading" width="66" height="66" align="absmiddle" />
                    </td>
                </tr>
            </table>
        </div>
        <div class="radius-box-gen">
            <div class="heading-radius">
                <asp:Label ID="lblThanksTitle" runat="server" Text=""></asp:Label></div>
            <div class="thanks-text">
                <p class="thanks-para">
                    <asp:Label ID="lblMessage1" runat="server"></asp:Label>
                </p>
                <p class="thanks-para">
                    <asp:Label ID="lblMessage2" runat="server"></asp:Label>
                </p>
            </div>
            <div style="padding-left: 7px;">
                <asp:Button runat="server" ID="btnBack" Text="<%$Resources:CarMenu,Back%>" CssClass="back-button"
                    OnClick="btnBack_Click" Width="100" OnClientClick="ShowHideDiv('divLoading', true);" />
            </div>
            <div class="logo-chac">
                <div style="position: absolute; margin: 32px 0px 0px -30px;">
                    <img src="../images/monkey-chac-cal.png" width="143" height="124" alt="" />
                </div>
            </div>
        </div>
    </div>
    <div class="social-icons">
        <div class="fb-icon">
            <a href="https://www.facebook.com/GGmotor" target="_blank">
                <img src="../images/icons/fb-icon.png" width="53" height="53" alt="" /></a></div>
        <div class="gplus-icon">
            <a href="https://plus.google.com/+Gluaygluay" target="_blank">
                <img src="../images/icons/gplus-icon.png" width="53" height="53" alt="" /></a></div>
        <div class="instagram-icon">
            <a href="http://instagram.com/ggmotor" target="_blank">
                <img src="../images/icons/instagram-variation.png" width="53" height="53" alt="" /></a></div>
        <div class="youtube-icon">
            <a href="http://www.youtube.com/channel/UCZ4gMtlXymBHxvcXO2cR1vA" target="_blank">
                <img src="../images/icons/youtube-variation.png" width="53" height="53" alt="" /></a></div>
    </div>
    <div style="display: none;">
        <asp:HiddenField ID="hdnQuoteId" runat="server" Value="0" />
        <asp:HiddenField ID="hdnCarId" runat="server" Value="0" />
        <asp:HiddenField ID="hdnPolicyId" runat="server" Value="0" />
    </div>

    <script type="text/javascript">
        function ConfirmGoback() {
            var _retVal = false;

            _retVal = window.confirm('<%=GetGlobalResourceObject("CarMenu", "GoBack")%>');

            if (_retVal) {
                window.onbeforeunload = null;
            }

            return _retVal;
        }

        function ShowHideDiv(divName, varOnOff) {
            if (varOnOff) {
                document.getElementById(divName).style.display = "";
            }
            else {
                document.getElementById(divName).style.display = "none";
            }
        }

    </script>

</asp:Content>
